package models

import (
	"time"
)

type Recurringpayment struct {
	Id int64 `xorm:"oid"`

	Cyclelength    int       `json:"CycleLength" xorm:"not null INTEGER"`
	Cycleperiodid  int       `json:"CyclePeriodId" xorm:"not null INTEGER"`
	Totalcycles    int       `json:"TotalCycles" xorm:"not null INTEGER"`
	Startdateutc   time.Time `json:"StartDateUtc" xorm:"not null DATETIME"`
	Isactive       int       `json:"IsActive" xorm:"not null BIT(1)"`
	Deleted        int       `json:"Deleted" xorm:"not null BIT(1)"`
	Initialorderid int       `json:"InitialOrderId" xorm:"not null INTEGER"`
	Createdonutc   time.Time `json:"CreatedOnUtc" xorm:"not null DATETIME"`
}
